//
//  DataSqlite.h
//  dddddemo
//
//  Created by lanou3g on 15/11/5.
//  Copyright © 2015年 zhk. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@class ModelFirst;

@interface DataSqlite : NSObject

+ (instancetype)shareDataSqlite;

- (void)openDataSqlite;

- (void)creatTable;

- (void)insertTitle:(NSString *)title Content:(NSString *)content image:(UIImage *)image currentTime:(NSString *)currentTime image:(UIImage *)image2 image:(UIImage *)image3 filePath:(NSString *)path;

- (NSArray *)findAll;

- (ModelFirst *)findModelFirstByTitle:(NSString *)title;

- (void)deleteModelByTitle:(NSString *)title;

- (BOOL)findExistByTile:(NSString *)title;

@end
